const local: App.I18n.Schema = {
    system: {
        title: 'DRUG SERVER TOOLS',
        updateTitle: 'System Version Update Notification',
        updateContent:
            'A new version of the system has been detected. Do you want to refresh the page immediately?',
        updateConfirm: 'Refresh immediately',
        updateCancel: 'Later'
    },
    common: {
        action: 'Action',
        add: 'Add',
        addSuccess: 'Add Success',
        backToHome: 'Back to home',
        batchDelete: 'Batch Delete',
        cancel: 'Cancel',
        close: 'Close',
        check: 'Check',
        expandColumn: 'Expand Column',
        columnSetting: 'Column Setting',
        config: 'Config',
        confirm: 'Confirm',
        delete: 'Delete',
        deleteSuccess: 'Delete Success',
        confirmDelete: 'Are you sure you want to delete?',
        edit: 'Edit',
        warning: 'Warning',
        error: 'Error',
        index: 'Index',
        keywordSearch: 'Please enter keyword',
        logout: 'Logout',
        logoutConfirm: 'Are you sure you want to log out?',
        lookForward: 'Coming soon',
        modify: 'Modify',
        modifySuccess: 'Modify Success',
        noData: 'No Data',
        operate: 'Operate',
        pleaseCheckValue: 'Please check whether the value is valid',
        refresh: 'Refresh',
        reset: 'Reset',
        search: 'Search',
        switch: 'Switch',
        tip: 'Tip',
        trigger: 'Trigger',
        update: 'Update',
        updateSuccess: 'Update Success',
        userCenter: 'User Center',
        yesOrNo: {
            yes: 'Yes',
            no: 'No'
        }
    },
    request: {
        logout: 'Logout user after request failed',
        logoutMsg: 'User status is invalid, please log in again',
        logoutWithModal: 'Pop up modal after request failed and then log out user',
        logoutWithModalMsg: 'User status is invalid, please log in again',
        refreshToken: 'The requested token has expired, refresh the token',
        tokenExpired: 'The requested token has expired'
    },
    theme: {
        themeSchema: {
            title: 'Theme Schema',
            light: 'Light',
            dark: 'Dark',
            auto: 'Follow System'
        },
        grayscale: 'Grayscale',
        colourWeakness: 'Colour Weakness',
        layoutMode: {
            title: 'Layout Mode',
            vertical: 'Vertical Menu Mode',
            horizontal: 'Horizontal Menu Mode',
            'vertical-mix': 'Vertical Mix Menu Mode',
            'horizontal-mix': 'Horizontal Mix menu Mode',
            reverseHorizontalMix: 'Reverse first level menus and child level menus position'
        },
        recommendColor: 'Apply Recommended Color Algorithm',
        recommendColorDesc: 'The recommended color algorithm refers to',
        themeColor: {
            title: 'Theme Color',
            primary: 'Primary',
            info: 'Info',
            success: 'Success',
            warning: 'Warning',
            error: 'Error',
            followPrimary: 'Follow Primary'
        },
        scrollMode: {
            title: 'Scroll Mode',
            wrapper: 'Wrapper',
            content: 'Content'
        },
        page: {
            animate: 'Page Animate',
            mode: {
                title: 'Page Animate Mode',
                fade: 'Fade',
                'fade-slide': 'Slide',
                'fade-bottom': 'Fade Zoom',
                'fade-scale': 'Fade Scale',
                'zoom-fade': 'Zoom Fade',
                'zoom-out': 'Zoom Out',
                none: 'None'
            }
        },
        fixedHeaderAndTab: 'Fixed Header And Tab',
        header: {
            height: 'Header Height',
            breadcrumb: {
                visible: 'Breadcrumb Visible',
                showIcon: 'Breadcrumb Icon Visible'
            }
        },
        tab: {
            visible: 'Tab Visible',
            cache: 'Tab Cache',
            height: 'Tab Height',
            mode: {
                title: 'Tab Mode',
                chrome: 'Chrome',
                button: 'Button'
            }
        },
        sider: {
            inverted: 'Dark Sider',
            width: 'Sider Width',
            collapsedWidth: 'Sider Collapsed Width',
            mixWidth: 'Mix Sider Width',
            mixCollapsedWidth: 'Mix Sider Collapse Width',
            mixChildMenuWidth: 'Mix Child Menu Width'
        },
        footer: {
            visible: 'Footer Visible',
            fixed: 'Fixed Footer',
            height: 'Footer Height',
            right: 'Right Footer'
        },
        watermark: {
            visible: 'Watermark Full Screen Visible',
            text: 'Watermark Text'
        },
        themeDrawerTitle: 'Theme Configuration',
        pageFunTitle: 'Page Function',
        configOperation: {
            copyConfig: 'Copy Config',
            copySuccessMsg:
                'Copy Success, Please replace the variable "themeSettings" in "src/theme/settings.ts"',
            resetConfig: 'Reset Config',
            resetSuccessMsg: 'Reset Success'
        }
    },
    route: {
        403: 'No Permission',
        404: 'Page Not Found',
        500: 'Server Error',
        'iframe-page': 'Iframe',
        home: 'ERP',
        log: 'LOG'
    },
    page: {
        home: {
            branchDesc: 'This is an initialization page, please develop other content yourself.',
            jarServer: {
                port: 'Service Port (Do not modify unless necessary)',
                jdkPath: 'JDK Path',
                jarPath: 'SDK Path',
                runStatus: 'Run Status',
                healthCheckTimeout: 'Health Check Timeout (seconds)',
                verify: 'Verify',
                start: 'Start',
                stop: 'Stop',
                standby: 'Standby',
                notRunning: 'Not Running',
                running: 'Running',
                checking: 'Checking',
                starting: 'Starting',
                stopping: 'Stopping',
                verifying: 'Verifying',
                verified: 'Verified',
                failed: 'Failed',
                unverified: 'Unverified',
                jdkPathPlaceholder:
                    'Please click the button on the right to select the JDK directory',
                jarPathPlaceholder: 'Please click the button on the right to select the JAR file',
                jdkPathValid: 'SDK path is valid',
                jarPathValid: 'SDK path is valid',
                jdkPathInvalid: 'JDK path is invalid',
                jarPathInvalid: 'SDK path is invalid',
                pleaseVerifyPaths: 'Please complete JDK and SDK path verification first',
                serviceStartSuccess: 'Service started successfully, performing health check...',
                serviceStartFailed: 'Service startup failed',
                serviceStopFailed: 'Service stop failed',
                initComplete: 'Initialization complete',
                initCompleteWithWarnings: 'Initialization completed with warnings',
                initCompleteVerifyPaths: 'Initialization completed, please verify paths',
                jdkPathVerifyFailed: 'JDK path verification failed',
                jarFileVerifyFailed: 'SDK file verification failed',
                portOccupiedDetected: 'Port occupied detected, performing health check...',
                serviceRunningDetected: 'Service running detected',
                portOccupied: 'Port occupied',
                serviceRunningNormal: 'Service running normally',
                portCheckFailed: 'Port check failed',
                serviceStartTimeout:
                    'Service startup timeout ({timeout} seconds), automatically stopped',
                selectJarFilePlaceholder: 'Click the button on the right to select SDK file'
            },
            updateLatest: {
                title: 'Version Update',
                versionUrl: 'Version URL',
                currentVersion: 'Current Version',
                latestVersion: 'Latest Version',
                applicationName: 'Application Name',
                description: 'Update Description',
                createTime: 'Release Time',
                downloadUrl: 'Download URL',
                fetch: 'Fetch',
                download: 'Download',
                downloading: 'Downloading',
                downloadComplete: 'Download Complete',
                downloadFailed: 'Download Failed',
                downloadProgress: 'Download Progress',
                downloadSpeed: 'Download Speed',
                selectDownloadPath: 'Select Download Path',
                newVersionAvailable: 'New version available for update',
                alreadyLatest: 'Already the latest version',
                fetchFailed: 'Failed to fetch version information',
                serviceRunningWarning: 'Please stop the service before downloading updates',
                downloadPathRequired: 'Please select download path',
                confirmOverwrite: 'File already exists, overwrite?',
                overwrite: 'Overwrite',
                cancel: 'Cancel',
                downloadCanceled: 'Download canceled',
                cancelDownloadFailed: 'Failed to cancel download',
                loadCachedVersionFailed: 'Failed to load cached version'
            }
        }
    },
    form: {
        required: 'Cannot be empty'
    },
    dropdown: {
        closeCurrent: 'Close Current',
        closeOther: 'Close Other',
        closeLeft: 'Close Left',
        closeRight: 'Close Right',
        closeAll: 'Close All'
    },
    icon: {
        themeConfig: 'Theme Configuration',
        themeSchema: 'Theme Schema',
        lang: 'Switch Language',
        fullscreen: 'Fullscreen',
        fullscreenExit: 'Exit Fullscreen',
        reload: 'Reload Page',
        collapse: 'Collapse Menu',
        expand: 'Expand Menu',
        pin: 'Pin',
        unpin: 'Unpin'
    },
    datatable: {
        itemCount: 'Total {total} items'
    },
    log: {
        systemLog: {
            title: 'Log Directory',
            noMatchFound: 'No match found',
            totalLines: 'Total lines',
            fileSize: 'File size',
            updateTime: 'Update time',
            searchKeyword: 'Search keyword...',
            top: 'Top',
            bottom: 'Bottom',
            clearLog: 'Clear log',
            stopMonitoring: 'Stop monitoring',
            startMonitoring: 'Start monitoring',
            fileInfo: 'File Info',
            noLogFiles: 'No log files',
            selectDirectoryFailed: 'Failed to select directory',
            loadFileListFailed: 'Failed to load file list',
            readFileFailed: 'Failed to read file',
            loadMoreContentFailed: 'Failed to load more content',
            foundMatches: 'Found {count} matches'
        }
    }
};

export default local;
